package JDK动态代理;

public class TeacherB implements TeacherInterface{
    @Override
    public String teachOnLine(String course) {
        System.out.println("开始"+course+"，课程线上教学");
        return course+"课程线上教学";
    }

    @Override
    public String teachOffLine(String course) {
        System.out.println("开始"+course+"，课程线下教学");
        return course+"课程线下教学";
    }

}
